package org.example.springboot.repository;

import org.example.springboot.entity.Expert;
import org.springframework.data.jpa.repository.JpaRepository;

public interface ExpertRepository extends JpaRepository<Expert, Long> {
    Expert findByUserId(Long userId);
} 